package com.dt76.smallloanbackendservice.service.etao;

import com.dt76.smallloanbackendservice.pojo.etao.Role;
import com.dt76.smallloanbackendservice.utils.Page;

import java.util.List;

public interface RoleService {

    Page getAllRole(Integer pageIndex);

    Role getRoleById(Integer rId);

    Boolean addRole(Role role);

    Boolean delRole(Integer rId);

    Boolean updRole(Role role);

    List<Role> getRoleBydId(Integer dId);
}
